package Mydxc.cmo;

public class Cs
{
	public static void main(String[] args)
	{
		System.out.println("===开始===");
		/*创造窗口对象*/
		Ck stor = new Ck();
		/*创造厨师对象*/
		Scz s = new Scz();
		s.setCk(stor);
		new Thread(s).start();
		for (int i=0; i<4 ; i++)
		{
			/*创建服务员对象*/
			Xfz  x = new Xfz();
			x.setCk(stor);
			/*线程对象  启动线程*/
			new Thread(x).start();
		}
		System.out.println("==结束==");
	}
}
